puts "Enter the first number"
first_number = gets.chomp
puts "Enter the second number"
second_number = gets.chomp
operation = [:-, :+, :*, :/][rand(1..4) - 1]
answer = eval first_number.to_s + operation.to_s + second_number.to_s

puts "The answer is #{answer}"
puts "\t Operation used is #{operation}"
